package com.ch.dao;

import com.ch.pojo.SmbmsAddress;
import com.ch.pojo.SmbmsAddressQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmbmsAddressDao {
    int countByExample(SmbmsAddressQuery example);

    int deleteByExample(SmbmsAddressQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmbmsAddress record);

    int insertSelective(SmbmsAddress record);

    List<SmbmsAddress> selectByExample(SmbmsAddressQuery example);

    SmbmsAddress selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmbmsAddress record, @Param("example") SmbmsAddressQuery example);

    int updateByExample(@Param("record") SmbmsAddress record, @Param("example") SmbmsAddressQuery example);

    int updateByPrimaryKeySelective(SmbmsAddress record);

    int updateByPrimaryKey(SmbmsAddress record);
}